package com.hw.service;

import com.github.pagehelper.PageInfo;
import com.hw.pojo.Areas;

import java.util.List;

/**
 * @InterfaceName: AreaService
 * @Description:
 * @Author: vie0134
 * @Date: 2020-12-15 16:26
 * @Version: 1.0
 **/
public interface AreasService {
    PageInfo<Areas> findAllArea(int pageNum, int pageSize, String exludeId, String areaname, String status);
    Areas findAreasById(Integer id);
    List<Areas> findAreasByParentId(Integer id);
    List<Areas> findFirstParentAreas(String status);
    void addAreas(Areas areas);
    void updateAreas(Areas areas);
    void deleteAreasById(Integer id);
    void deleteAreasByIds(List<String> ids);
}
